function loadRelax() {
    var myChart = echarts.init(document.getElementById('main'));

    myChart.showLoading();
    $.getJSON("./lib/data.json", function(json) {
        myChart.hideLoading();
        myChart.setOption(option = {
            title: {
                text: ''
            },
            animationDurationUpdate: 1500,
            animationEasingUpdate: 'quinticInOut',
            series: [{
                type: 'graph',
                layout: 'none',
                // progressiveThreshold: 700,
                data: json.nodes.map(function(node) {
                    return {
                        x: node.x,
                        y: node.y,
                        id: node.id,
                        name: node.label,
                        symbolSize: node.size,
                        itemStyle: {
                            color: node.color
                        }
                    };
                }),
                edges: json.edges.map(function(edge) {
                    return {
                        source: edge.sourceID,
                        target: edge.targetID
                    };
                }),
                emphasis: {
                    label: {
                        position: 'right',
                        show: true
                    }
                },
                roam: true,
                focusNodeAdjacency: true,
                lineStyle: {
                    width: 0.5,
                    curveness: 0.3,
                    opacity: 0.7
                }
            }]
        }, true);
    });
}